$OpenBSD: patch-modules_rls_utils_c,v 1.1 2015/11/20 10:09:52 sthen Exp $
--- modules/rls/utils.c.orig	Wed Oct 21 00:09:23 2015
+++ modules/rls/utils.c	Wed Oct 21 00:14:37 2015
@@ -26,14 +26,14 @@
 #define SIP_PREFIX        "sip:"
 #define SIP_PREFIX_LEN    sizeof(SIP_PREFIX)-1
 
-str* normalize_sip_uri(const str *uri)
+str* normalize_sip_uri(str *uri)
 {
         static str normalized_uri;
         static str null_str = {NULL, 0};
         static char buf[MAX_URI_SIZE];
 
         normalized_uri.s = buf;
-        if (un_escape((str *)uri, &normalized_uri) < 0)
+        if (un_escape(uri, &normalized_uri) < 0)
         {
                 LM_ERR("un-escaping URI\n");
                 return &null_str;
